home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / aros / exec / deleteiorequest.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-12  |  1.2 KB  |  63 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: deleteiorequest.c,v 1.4 1996/08/13 13:56:00 digulla Exp $
  4.     $Log: deleteiorequest.c,v $
  5.     Revision 1.4  1996/08/13 13:56:00  digulla
  6.     Replaced __AROS_LA by __AROS_LHA
  7.     Replaced some __AROS_LH*I by __AROS_LH*
  8.     Sorted and added includes
  9.  
  10.     Revision 1.3  1996/08/01 17:41:09  digulla
  11.     Added standard header for all files
  12.  
  13.     Desc:
  14.     Lang: english
  15. */
  16. #include "exec_intern.h"
  17. #include <aros/libcall.h>
  18.  
  19. /*****************************************************************************
  20.  
  21.     NAME */
  22.     #include <exec/io.h>
  23.     #include <clib/exec_protos.h>
  24.  
  25.     __AROS_LH1(void, DeleteIORequest,
  26.  
  27. /*  SYNOPSIS */
  28.     __AROS_LHA(struct IORequest *, iorequest, A0),
  29.  
  30. /*  LOCATION */
  31.     struct ExecBase *, SysBase, 110, Exec)
  32.  
  33. /*  FUNCTION
  34.     Delete an I/O request created with CreateIORequest().
  35.  
  36.     INPUTS
  37.     iorequest - Pointer to I/O request structure or NULL.
  38.  
  39.     RESULT
  40.  
  41.     NOTES
  42.  
  43.     EXAMPLE
  44.  
  45.     BUGS
  46.  
  47.     SEE ALSO
  48.  
  49.     INTERNALS
  50.  
  51.     HISTORY
  52.  
  53. ******************************************************************************/
  54. {
  55.     __AROS_FUNC_INIT
  56.  
  57.     if(iorequest!=NULL)
  58.     /* Just free the memory */
  59.     FreeMem(iorequest,iorequest->io_Message.mn_Length);
  60.     __AROS_FUNC_EXIT
  61. }
  62.  
  63.